home *** CD-ROM | disk | FTP | other *** search
- #$realtime 190
- #$debug on
- #
- # net.start -- Macintosh-specific "autoexec.net" config. file
- #
- #
- # Define who we are -- this must come first in this file:
- #
- hostname pi8mac.ampr.org
- ax25 mycall pi8mac
- #
- # Path to the hosts.net file - It could reside on another volume, or
- # be buried in another folder. Also the file can now be named what-
- # ever you desire. Note that double quotes are required if there are
- # any space characters in the path name, otherwise they are not needed.
- #
- hostfile :hosts.net
- #
- # AX.25 CONFIGURATION:
- # The values in the following entries reflect default values.
- # These values come into play when you are operating in the AX.25
- # mode, along with your "ax25 mycall" entry above.
- #
- # Turn on digipeating
- #
- ax25 digipeat on
- #
- # Set the max number of frames allowed to remain unacknowledged--
- # cannot be greater than 7, and 2 is a good number:
- #
- ax25 maxframe 2
- #
- # Limit the size of I=fields:
- #
- ax25 paclen 200
- ax25 pthresh 64
- #
- # Limit the number of unsuccessful retransmissions:
- #
- ax25 retry 10
- #
- # Set the number of bytes that can be pending on an AX.25 receive
- # queue:
- #
- ax25 window 4096
- #
- # Turn on the mheard command in tcp...
- #
- ax25 heard on
- # frack (in milliseconds)
- ax25 t1 7000
- # resptime (in milliseconds)
- ax25 t2 1500
- # check (in milliseconds)
- ax25 t3 300000
- #
- # Insert your personal IP address in []'s or use the name from 'hosts.net':
- #
- ip addr pi8mac
- #
- # Time To Live is the maximum number of hops a packet can take
- # before it is thrown away. This command prevents an infinite
- # loop from occuring with packets in the network.
- #
- ip ttl 16
- #
- # The Maximum Segment Size is the largest single transmission that
- # you will send. An mss of 216 corresponds to the mtu of 256 set
- # up in the attach command above, overhead bytes considered.
- #
- tcp mss 216
- #
- # The Window parameter establishes the maximum number of bytes
- # that may be outstanding before your system expects an ack. If
- # window is twice as big as mss, for example, there will be two
- # active packets on the channel at any given time... large values
- # of window provide improved throughput on full-duplex links, but
- # are a problem on the air. Keep mss <= window <= 2*mss if
- # you're on the air.
- #
- tcp window 432
- #
- # set round trip time to 5 seconds - the original documentation states
- # this value as seconds, when it should be milliseconds!
- #
- tcp irtt 5000
- tcp mrtt 300000
- # allow 7 days for mail-delivery
- smtpndays 7
- # deliver mail for strangers at pi8hvh
- smtp gateway pi8hvh
- #
- # smtp timer below sets the amount of time between attempts to send
- # messages in the queue. The value of 600 (seconds) sets it to every 10
- # min. 3 - 10 minutes is a good number if your station is up 24hrs/day.
- # If not, adjust to more like >15 minutes (>900 seconds)
- #
- smtp timer 600
- smtp mode route
- #
- # Attach interfaces:
- # Syntax for a Macintosh using the modem port for AX25:
- # attach <hw type> <not used but needs to be here> <string version
- # of the port ('a' or 'b')> <mode> <label> <bufsize> <mtu> <speed>
- #
- # The following typical attach command for the Mac says that you
- # will use an asynchronous port, specifically port 'a' (modem
- # port), talking to an "ax25" (i.e. KISS-based) TNC. The name you
- # will use when running TCP to refer to this port is "430". You
- # allow a maximum of 2048 bytes of buffer; packets are no more
- # than 576 bytes long. You talk to the port at 4800 bps.
- #
- attach asy 1 a ax25 430 2048 576 4800
- #
- # The following describes the parameters for the AppleTalk driver.
- # Note that this is a very simple AppleTalk interface, and will only
- # work with another Mac in the same AppleTalk zone running this
- # version of NET/Mac. (uses the LAP protocol)
- #
- # argv[0]: hardware type, must be "appletalk"
- # argv[1]: Protocol Type, e.g., "77"
- # argv[2]: device name,must be "b"
- # argv[3]: mode, must be "arpa"
- # argv[4]: interface label, e.g., "at0"
- # argv[5]: maximum number of packets allowed on receive queue, e.g., "7"
- # argv[6]: maximum transmission unit, bytes, e.g. "586" < appletalk-
- # limitation.
- #
- attach appletalk 77 b arpa at0 1 586
- #
- attach netrom
- netrom ttl 16
- netrom interface 430 #TCPIP 192
- netrom nodetimer 900
- netrom obsotimer 3600
- netrom nodefilter mode none
- netrom verbose yes
- #
- # The format is: param <label> <hex value> <hex value> ...
- #
- # As an example, a TNC-1 with an old crystal transmitter that is
- # slow to key may need longer TXDELAY and TXTAIL values than the
- # defaults, e.g.:
- #
- # txdelay (*10 millisec)
- param 430 1 100
- # 1/n perc.
- param 430 2 64
- # slot time (*10 millisec)
- param 430 3 10
- # TX tail (*10 millisec)
- param 430 4 10
- # Full duplex
- param 430 5 0
- # HDLC speed (*300 bps)
- param 430 6 4
- #
- # The next entries set the default arp addresses.
- # You may add additional arp entries as needed.
- #
- arp add pa0gln ax25 pa0gln
- #arp add pa3eae ax25 pa3eae-7
- #arp add pi8eae ax25 pi8eae-7
- #
- # By default all packets will go out the "at0" port and go out via pa2aga-1:
- #
- route add [44.0.0.0]/8 at0 pa2aga-1
- # Germany
- route add [44.130.0.0]/16 at0 pa2aga
- # The Netherlands
- route add [44.137.0.0]/16 at0 pa2aga
- # Belgium
- route add [44.144.0.0]/16 at0 pa2aga
- # Luxemburg
- route add [44.161.0.0]/16 at0 pa2aga
- # fridley
- route add [192.137.1.3] at0 pa2aga
- # hb9zz.ethz.ch
- route add [44.142.1.1] at0 pa2aga
- # AF2J
- route add [44.80.32.135] at0 pa2aga
- route add [44.80.32.136] at0 pa2aga
- # PA_ZH1
- route add [44.137.0.0]/22 at0 pa2aga-2
- # PA_ZH2
- route add [44.137.32.0]/22 at0 pa2aga-2
- #
- route add pa0aax at0 pa2aga-2
- route add pa0gln 430
- route add pa0gri at0 pa2aga-2
- route add bbs.pa0gri at0 pa2aga-2
- route add net.pa0gri at0 pa2aga
- route add pa0mjr at0 pa2aga-2
- route add sys2.pa0mjr at0 pa2aga-2
- route add pa0okc at0 pa2aga-2
- route add pa0qrb at0 pa2aga
- route add pa0sch 430
- route add pa2aga at0
- route add pa2aga-1 at0
- route add pa2aga-2 at0
- route add pa2aga-10 at0
- route add pa3cay at0 pa2aga-2
- route add sys2.pa3cay at0 pa2aga-2
- route add pa3cdi at0 pa2aga-2
- route add pa3chk 430
- route add pa3cwi at0 pa2aga
- route add pa3eae 430
- route add pa3ecp at0 pa2aga-2
- route add pa3ecp-2 at0 pa2aga-2
- route add pa3ecp-7 at0 pa2aga-2
- route add pe0mar at0 pa2aga
- route add pe0pjv at0 pa2aga
- route add pe1ghg 430
- route add pe1khx at0 pa2aga
- route add pi8eae 430
- route add pi8hvh at0 pa2aga
- route add pi8omp 430
- #
- ping pa2aga
- ping pa2aga-2
- #
- # Setup mailbox function for AX25 connects
- #
- mbox y
- #
- # Set the local timezone and offset to GMT
- #
- #Winter:
- #
- tzone MET -1
- #
- #
- #Daylight savings time:
- #
- #tzone MET -2
- #
- # Tell TCP to start up each of its daemons:
- #
- start telnet
- start ftp
- start smtp
- start echo
- start discard
- start finger
- start remote 1234
- #
- # Set the escape character - this is required for the Mac 512/Plus
- # keyboards. You may comment it out for the ADB keyboards.
- #
- escape
- #
- netrom bcnodes 430
- #
- # The following command is optional, and allows you to provide a
- # callsign lookup function assuming you have an appropriate datafile.
- # There are two parameters, the first is the path to the data file, and
- # the second is the path to a logging file.
- #
- callbk :finger:callbook :spool:logs:calllog
- #
- # The following commands turn on the beacon function.
- # The first command set which port to beacon on. The second command
- # is the callsign to beacon to (QST is everyone), the third line is the
- # actual beacon message followed by the beacon interval in seconds, and
- # finally the last command turns on the beacon.
- #
- beacon set 430
- beacon callsign QST-0
- beacon message "Macintosh TCP/IP+NET/ROM (in AX.25 type <CR> as 1st command!)"
- beacon interval 1000
- beacon disable
- #
- # Enable the Proxy ARP facility. This function allows for automatic
- # digipeating (so to speak) between several stations without having
- # to explicidly adding arp entries.
- #
- is_es enable
- #
- # enable IP Heard command. Keeps a running list of stations heard on
- # the channel. Typing IP H at the net> prompt will display the last 20 or
- # so stations that have been heard. You may also us AX25 H to see the last
- # 20 ax25 stations.
- #
- ip heard on
- #
- # sound enough bells to wake me up
- alerts 3
- #
- # activate rip trace
- #rip trace on 0 0 24 72
- #
- # activate rip
- rip init pa2aga-2 at0
- rip add pa0gln 430 1800 3
- rip add pa2aga-2 at0 1800 6
- #
- prompt pi8mac>
- title "[44.137.32.22 ] - PI8MAC - 430.675 MHz"
- #
- # Tell TCP where to keep a log file - note the leading ':' character.
- # The current directory prefix will be appended to the front of this entry.
- #
- log :spool:logs:log overwrite 0 0 24 71
- #
- # trace smtp session
- smtp trace 2 0 19 17 80
- #
- # define default console window
- console 0 0 13 80
- #
- cmdtoclipb on
- #
- addmenu "tcp extended\m"
- addmenu "smtp kick\m"
- addmenu "dir :spool:mqueue\m"
- addmenu -telnet
- addmenu "telnet pi8hvh\m"
- addmenu "telnet pa0gln\m"
- addmenu -ping
- addmenu "ping pa2aga\m"
- addmenu "ping pa2aga-1\m"
- addmenu "ping pa2aga-2\m"
- addmenu "ping pa0gln\m"
- addmenu -end
- addmenu exit\m
- #
- time
- #
- appleshare pa2aga "IIx HD40:tcp/ip_pa2aga:spool:mqueue"
- #
- # End of autoexec.net
-